package com.zmn.oms.business.interfaces.messageV1.app;

import com.zmn.oms.model.dto.messageV1.SendMessageParams;
import com.zmn.oms.model.entity.work.OrderWork;

/**
 * 类描述：发送客户端app通知消息 Android / IOS
 *
 * @author yule
 * @date 2020/12/23 14:17
 */
public interface MessageSendAppService {


    /**
     * 发送客户端push消息（用于切面后置消息发送）
     *
     * @param sendMessageParams 订单号
     */
    boolean pushAppMessageInfo(SendMessageParams sendMessageParams);


    /**
     * 发送客户端push消息（通用消息发送）
     * @param ruleId    规则Id
     * @param params    消息所需参数
     * @param orderWork  工单
     * @return
     */
    boolean pushAppMessageInfo(Integer ruleId, String params, OrderWork orderWork);

}
